package com.share.device.service.impl;

import com.share.device.emqx.config.EmqxProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import static org.springframework.http.HttpHeaders.ALLOW;

@Service
public class EmqxServiceImpl {
//    @Autowired
//    private EmqxProperties emqxProperties;
//
//    public AuthVo auth(AuthDto authDto) {
//        //排除系统客户端
//        if (authDto.getClientid().equals(emqxProperties.getClientId())) {
//            return AuthVo.builder()
//                    .result(ALLOW)
//                    .build();
//        }
//    }
}
